
import {post,get,downPost} from "../utils/request";

import {postList} from "../utils/rowsRequest";
//办件查询
export const searchWorkbenchList = (request)=>postList("xzsp/handleInfo/searchWorkbench",request);
//登录
export const login = (request)=>post("loginIn",request);
//退出
export const loginOut = (request)=>post("loginOut",request);
//附件下载
export const downloadFile = (request)=>downPost("xzsp/sysAttrFile/download",request);
//模拟推送消息

export const pushWebSocket = (request)=>post("xzsp/websocket/push",request);

//统一受理工作台预警查询
export const tyGetWarnInfo = (request = {})=>postList("xzsp/handleInfo/getWarnInfo",request);
//统一处理工作台综合统计
export const tyGetCountAll = (request = {})=>post("xzsp/handleInfo/countAll",request);
//统一处理工作台办事指南列表
export const tyGetGuideList = (request = {})=>postList("xzsp/businessGuide/getPageInfo",request);
//统一处理工作台智能柜使用情况
export const tySmartCabinetInfo = (request = {})=>post("xzsp/smartCabinet/getUseInfo",request);
//统一处理工作台新增预审登记
export const tyAddHandle = (request = {})=>post("xzsp/handleInfo/addHandle",request);
//编辑预审登记
export const tyEditHandle = (request = {})=>post("xzsp/handleInfo/editHandle",request);
//统一处理工作台取号情况列表查询
export const tyGetTakeNumList = (request = {})=>postList("xzsp/takeNum/getPageInfo",request);
//业务受理工作台待办事项分页查询
export const getBusinessTodo = (request = {})=>postList("xzsp/business/getBusinessTodo",request);
//业务工作台预约记录分页查询
export const getBusinessAppointment = (request = {})=>postList("xzsp/business/getBusinessAppointment",request);
//业务受理工作台综合统计
export const countBusinessAll = (request = {})=>post("xzsp/business/countBusinessAll",request);

//根据字典编码查找字典项集合
export const findByDictCode = (request = {})=>post("xzsp/dictItem/findByDictCode",request);
//获取下发人员列表
export const getRolePeople = (request = {})=>post("getRolePeople",request);
//办件类型统计
export const getHandleType = (request = {})=>post("xzsp/business/getHandleType",request);
//业务受理办件排名
export const handleRank = (request = {})=>post("xzsp/business/handleRank",request);
//工作台我的办件和受理记录的分页查询
export const getBusinessRecordHandle = (request = {})=>postList("xzsp/business/getBusinessRecordHandle",request);

//制证工作台待办分页查询
export const getTodo = (request = {})=>postList("xzsp/makeCard/getTodo",request);
//制证工作台消息提醒分页查询
export const getMessage = (request = {})=>postList("xzsp/makeCard/getMessage",request);
//制证工作台4项计数统计
export const countMakeAll = (request = {})=>post("xzsp/makeCard/countMakeAll",request);
//办证情况
export const makeTypeRank = (request = {})=>post("xzsp/makeCard/makeTypeRank",request);
//制证工作台取件情况查询
export const getMyTakeInfo = (request = {})=>post("xzsp/makeCard/getMyTakeInfo",request);

//预审登记分页查询
export const getPretrialRegistration = (request = {})=>postList("xzsp/handleInfo/getPretrialRegistration",request);
//预审登记--删除
export const deletePretrial = (request = {})=>post("xzsp/handleInfo/deletePretrial",request);
//预审登记--驳回
export const backPretrial = (request = {})=>post("xzsp/handleInfo/backPretrial",request);
//证件库根据证件号查询
export const findByCredentialNum = (request = {})=>post("xzsp/credentialLib/findByCredentialNum",request);
//分发
export const distribute = (request = {})=>post("xzsp/handleInfo/distribute",request);
//统一设置智能柜密码
export const setChestsPassword = (request = {})=>post("xzsp/smartCabinet/setPass",request);
//新增业务受理登记
export const addYwHandle = (request = {})=>post("xzsp/business/addHandle",request);
//编辑业务受理登记
export const editYwHandle = (request = {})=>post("xzsp/business/editHandle",request);
//预审记录
export const getYsRecordList = (request = {})=>postList("xzsp/handleInfo/getPretrialRecord",request);
//受理记录
export const getSlRecordList = (request = {})=>postList("xzsp/business/getBusinessRecordHandle",request);

//受理登记-受理
export const businessAccept = (request = {})=>post("xzsp/business/accept",request);
//受理登记-分页查询
export const getBusinessHandle = (request = {})=>postList("xzsp/business/getBusinessHandle",request);
//核发记录分页查询
export const getMakeCardList = (request = {})=>postList("xzsp/makeCard/getIssueRecordPageInfo",request);
//受理登记--驳回
export const businessBack = (request = {})=>post("xzsp/business/back",request);
//welcome选择
export const selectWelcome = (request = {})=>post("getResource",request);

//我的办证
export const getMyMake = (request = {})=>postList("xzsp/makeCard/queryMyMake",request);
//证照核发分页查询
export const getMakePageInfo = (request = {})=>postList("xzsp/makeCard/getMakePageInfo",request);
//证照核发--制证
export const makeCard = (request = {})=>post("xzsp/makeCard/makeCard",request);
//证照核发--取件
export const getCard = (request = {})=>post("xzsp/makeCard/getCard",request);
//证照核发--驳回
export const cardReject = (request = {})=>post("xzsp/makeCard/back",request);
//受理登记查询详情
export const getSlDetailById = (request = {})=>post("xzsp/business/getBusinessInfo",request);
//证照核发详情
export const getZzDetailById = (request = {})=>post("xzsp/makeCard/getMakeInfo",request);
//修改密码
export const modifyPassword = (request = {})=>post("editPassword",request);
//获取当前窗口信息
export const getWindowInfo = (request = {})=>post("xzsp/windowNum/getWindowInfo",request);
//切换窗口
export const changeWindow = (request = {})=>post("xzsp/windowNum/editWindowNum",request);
// 我的寄件
export const myExpress = (request = {})=>post("xzsp/express/getExpressInfo",request);
//获取证件库列表
export const getPermitList = (request = {})=>postList("xzsp/credentialLib/getPageInfo",request);
//获取知识库类型树
export const getKnowledgeLibTree = (request = {})=>post("yyzx/knowledgeLib/queryTree",request);
//删除知识库类型树
export const deleteKnowledgeLibTree = (request = {})=>post("yyzx/knowledgeLib/delete",request);
//新增知识库类型树
export const addKnowledgeLibTree = (request = {})=>post("yyzx/knowledgeLib/add",request);
//编辑知识库类型树
export const editKnowledgeLibTree = (request = {})=>post("yyzx/knowledgeLib/edit",request);
//获取知识库详情列表
export const getKnowledgeLibList = (request = {})=>postList("yyzx/knowledgeContent/queryPage",request);
//新增知识库
export const addKnowledgeLib = (request = {})=>postList("yyzx/knowledgeContent/add",request);
//编辑知识库
export const editKnowledgeLib = (request = {})=>postList("yyzx/knowledgeContent/edit",request);
//知识库-发布/撤销
export const publishKnowledgelib = (request = {})=>postList("yyzx/knowledgeContent/publishOrCancel",request);
//知识库-删除
export const deleteKnowledgelib = (request = {})=>postList("yyzx/knowledgeContent/delete",request);


//查看天气
export const getWeather = (request = {})=>post("xzsp/allScreen/aqi/queryWeather",request);

//8512345待办事项分页查询
export const ZHZXEventInfoQueryTodo = (request = {})=>postList("yyzx/ZHZXEventInfo/queryTodo",request);
//8512345预警提示分页查询
export const ZHZXEventInfoQueryWarnInfo = (request = {})=>postList("yyzx/ZHZXEventInfo/queryWarnInfo",request);
//8512345事件记录分页查询
export const ZHZXEventInfoQueryRecord = (request = {})=>postList("yyzx/ZHZXEventInfo/queryRecord",request);
//8512345事件记录分页查询
export const ZHZXEventInfoDutyInfo = (request = {})=>post("yyzx/ZHZXEventInfo/dutyInfo",request);
//8512345消息中心电话记录分页查询
export const telephoneFindPage = (request = {})=>postList("yyzx/telephone/findPage",request);
//8512345判断工单号是否存在
export const ZHZXEventInfoEventNumberCanUse = (request = {})=>post("yyzx/ZHZXEventInfo/eventNumberCanUse",request);

//事件登记
export const ZHZXEventInfoQueryPage = (request = {})=>postList("yyzx/ZHZXEventInfo/queryPage",request);
//事件登记新增
export const ZHZXEventInfoAdd = (request = {})=>post("yyzx/ZHZXEventInfo/add",request);
//事件登记编辑
export const ZHZXEventInfoEdit = (request = {})=>post("yyzx/ZHZXEventInfo/edit",request);
//事件登记删除
export const ZHZXEventInfoDelete = (request = {})=>post("yyzx/ZHZXEventInfo/delete",request);
//事件登记上报
export const ZHZXEventInfoReport = (request = {})=>post("yyzx/ZHZXEventInfo/report",request);
//事件登记办结
export const ZHZXEventInfoFinish = (request = {})=>post("yyzx/ZHZXEventInfo/finish",request);
//最近事件列表
export const ZHZXEventInfoQueryRecent = (request = {})=>postList("yyzx/ZHZXEventInfo/queryRecent",request);

//短信-知识库列表
export const knowledgeLibQueryAll = (request = {})=>postList("yyzx/knowledgeContent/queryAll",request);
//短信-知识库列表
export const smsSend = (request = {})=>postList("xzsp/sms/send",request);

//分拣综合台-统计
export const sortingEventinfoQueryCoreStatistics = (request = {})=>post("yyzx/sortingEventinfo/queryCoreStatistics",request);
//分拣综合台-督办列表
export const sortingEventinfoQueryCorePress = (request = {})=>postList("yyzx/sortingEventinfo/queryCorePress",request);
//分拣综合台-督办
export const sortingEventinfoPress = (request = {})=>post("yyzx/sortingEventinfo/press",request);
//分拣综合台-办结
export const sortingEventinfoEnd = (request = {})=>post("yyzx/sortingEventinfo/end",request);
//分拣综合台-消息中心列表
export const sortingEventinfoQueryCoreMsgPage = (request = {})=>postList("yyzx/sortingEventinfo/queryCoreMsgPage",request);
//分拣综合台-我的待办列表(module:workbench)、指挥中心-我的待办列表(module:list)
export const sortingEventinfoQueryCorePage = (request = {})=>postList("yyzx/sortingEventinfo/queryCorePage",request);
//分拣综合台-办结情况对比图表
export const sortingEventinfoQueryCoreDept = (request = {})=>post("yyzx/sortingEventinfo/queryCoreDept",request);
//指挥中心-事件记录
export const sortingEventinfoQueryCoreListPage = (request = {})=>postList("yyzx/sortingEventinfo/queryCoreListPage",request);
//指挥中心-事件记录-公开、撤回
export const sortingEventinfoOpenOrBack = (request = {})=>postList("yyzx/sortingEventinfo/openOrBack",request);
//分拣综合台-查询部门数据/数据字典-处理单位
export const departmentGetDepartment = (request = {})=>post("yyzx/department/getDepartment",request);
//分拣综合台-分拣
export const sortingEventinfoDistribute = (request = {})=>post("yyzx/sortingEventinfo/distribute",request);

//委办局-我的待办
export const sortingEventinfoQueryBranchPage = (request = {})=>postList("yyzx/sortingEventinfo/queryBranchPage",request);
//委办局-统计
export const sortingEventinfoQueryBrandStatistics = (request = {})=>post("yyzx/sortingEventinfo/queryBrandStatistics",request);
//委办局-督办列表
export const sortingEventinfoQueryBrandPress = (request = {})=>postList("yyzx/sortingEventinfo/queryBrandPress",request);
//委办局-消息中心列表
export const sortingEventinfoQueryBrandMsgPage = (request = {})=>postList("yyzx/sortingEventinfo/queryBrandMsgPage",request);
//委办局-接收
export const sortingEventinfoReceive = (request = {})=>post("yyzx/sortingEventinfo/receive",request);
//委办局-反馈
export const sortingEventinfoFeedback = (request = {})=>post("yyzx/sortingEventinfo/feedback",request);
//委办局-完成
export const sortingEventinfoFinish = (request = {})=>post("yyzx/sortingEventinfo/finish",request);
//委办局-事件走势
export const sortingEventinfoQueryBrandEventTrend = (request = {})=>post("yyzx/sortingEventinfo/queryBrandEventTrend",request);
//委办局-事件记录
export const sortingEventinfoQueryBranchListPage = (request = {})=>postList("yyzx/sortingEventinfo/queryBranchListPage",request);

//党建大屏
//党建大屏-党建总体情况
export const getDjztqk = (request = {})=>post("xzsp/dj/total",request);
//党建大屏-党组织党员数量分析
export const getDzzdysl = (request = {})=>post("xzsp/dj/djScreen/orgPerson",request);
//党建大屏-党员年龄性别分析
export const getDynlxb = (request = {})=>post("xzsp/dj/djScreen/ageSex",request);
//党建大屏-党组织星级平均值分析
export const getDzzxjpjz = (request = {})=>post("xzsp/dj/djScreen/starAvg",request);
//党建大屏-党员党龄积分平均值
export const getDynljf = (request = {})=>post("xzsp/dj/djScreen/partyAgeIntegralAvg",request);
//党建大屏-党龄活力指数
export const getDlhlzs = (request = {})=>post("xzsp/dj/djScreen/ageVigorIndex",request);

// 综合大屏
// 综合大屏-党组织情况统计
export const getDzzqktj = (request = {})=>post("xzsp/dj/allScreen/orgStatistics",request);
// 综合大屏-党员积分
export const getDyjf = (request = {})=>post("xzsp/dj/allScreen/integralRatio",request);
//综合大屏-党建学习情况
export const getDjxxqk = (request = {})=>post("xzsp/dj/allScreen/learnSituation",request);
//综合大屏-阳光政务面对面统计
export const getYgzwmdmtj = (request = {})=>post("xzsp/faceToface/queryAllScreenInfo",request);
//综合大屏-容缺预受理统计
export const getRqysl = (request = {})=>post("xzsp/preAccept/queryAllScreenInfo",request);
//综合大屏-并行并联统计
export const getBxbl = (request = {})=>post("xzsp/parallelConnection/queryAllScreenInfo",request);
//综合大屏-政务审批办结率、已接件、已办件
export const getZwspbj = (request = {})=>post("xzsp/allScreen/zwsp/queryFinishRate",request);
//综合大屏-取号窗口top3
export const getTopWindow = (request = {})=>post("xzsp/allScreen/zwsp/queryWindowTop",request);
//综合大屏-各分类情况统计
export const getGflqk = (request = {})=>post("xzsp/allScreen/zwsp/queryTypeCount",request);
//综合大屏-政务审批预约、等待
export const getZwspyy = (request = {})=>post("xzsp/allScreen/zwsp/queryOrderAndWaitCount",request);
//综合大屏-查询办结率
export const getSjbjl = (request = {})=>post("yyzx/allScreen/queryFinishRate",request);
//综合大屏-查询各来源占比
export const getLyzb = (request = {})=>post("yyzx/allScreen/queryProportion",request);
//综合大屏-事件类型统计
export const getSjlxtj = (request = {})=>post("yyzx/allScreen/countEvenType",request);
//综合大屏-pm25
export const getPm = (request = {})=>post("xzsp/allScreen/aqi/queryAQI",request);
//综合大屏-事件分拣办理情况
export const getSjfjList = (request = {})=>post("yyzx/allScreen/countSortingStatistics",request);
//综合大屏-工作台办结情况对比
export const getGztList = (request = {})=>post("yyzx/sortingEventinfo/queryCoreDept",request);
//综合大屏-热词分析
export const getHotWord = (request = {})=>post("yyzx/allScreen/hotWord",request);
//综合大屏-城管事件整体情况
export const getCgsjList = (request = {})=>post("zhcg/allScreen/getOverallSituation",request);
//综合大屏-城管事件同环比
export const getCgsjhbList = (request = {})=>post("zhcg/allScreen/getCyclicRatio",request);
//综合大屏-城管事件分布
export const getCgsjfbList = (request = {})=>post("zhcg/allScreen/getEventDistribution",request);
//综合大屏-政务审批地图数据
export const getZwspMap = (request = {})=>post("xzsp/zwScreen/getMapCount",request);
//综合大屏-城管地图
export const getCgMap = (request = {})=>post("zhcg/allScreen/queryMapCount",request);
//综合大屏-两学一做地图数据
export const getLxyzMap = (request = {})=>post("xzsp/allScreen/zwsp/queryLXYZCount",request);
//综合大屏-三会一课地图数据
export const getShykMap = (request = {})=>post("xzsp/allScreen/zwsp/querySHYKCount",request);

//政务大屏-办件整体情况分析
export const getBjztqkfx = (request = {})=>post("xzsp/zwScreen/getOverallSituation",request);
//政务大屏-各窗口办件情况分析
export const getWindowSituation = (request = {})=>post("xzsp/zwScreen/getWindowSituation",request);
//政务大屏-并行并联审批情况分析
export const getParallelSituation = (request = {})=>post("xzsp/zwScreen/getParallelSituation",request);
//政务大屏-驳回情况分析
export const getHandleTypeSituation = (request = {})=>post("xzsp/zwScreen/queryBackReason",request);
//政务大屏-阳光面对面
export const getFaceToFace = (request = {})=>post("xzsp/zwScreen/getFaceToFace",request);
//政务大屏-同环比分析
export const getCyclicRatio = (request = {})=>post("xzsp/zwScreen/getCyclicRatio",request);
//政务大屏-平均等候及超时占比分析
export const getWaitAndOvertimeRatio = (request = {})=>post("xzsp/zwScreen/getWaitAndOvertimeRatio",request);
//政务大屏-科室办理情况分析
export const getDepartmentSituation = (request = {})=>post("xzsp/zwScreen/getDepartmentSituation",request);
//政务大屏-累计办件top5
export const getHandleTop5 = (request = {})=>post("xzsp/zwScreen/getHandleTop5",request);
//政务大屏-制证情况分析
export const getMakeCardSituation = (request = {})=>post("xzsp/zwScreen/getMakeCardSituation",request);
//政务大屏-证照库证照情况分析
export const getCredentialsCount = (request = {})=>post("xzsp/zwScreen/getCredentialsCount",request);
//政务大屏-知识库知识情况分析
export const getKnowledgeCount = (request = {})=>post("yyzx/allScreen/getKnowledgeCount",request);
//政务大屏-地图中间综合数量统计
export const getZhAmount = (request = {})=>post("xzsp/zwScreen/getAmount",request);
//政务大屏-地图区域数据
export const getMapCount = (request = {})=>post("xzsp/zwScreen/getMapCount",request);

//综治大屏-事件状态占比分析
export const getCountByEventStatus = (request = {})=>post("yyzx/zzScreen/countByEventStatus",request);
//综治大屏-事件类型分析
export const getCountByEventType = (request = {})=>post("yyzx/zzScreen/countByEventType",request);
//综治大屏-事件来源及分布情况
export const querySourceAndDistribution = (request = {})=>post("yyzx/zzScreen/querySourceAndDistribution",request);
//综治大屏-事件来源及分布情况
export const getCountByUnit = (request = {})=>post("yyzx/zzScreen/countByUnit",request);
//综治大屏-事件办理时长分析
export const queryEventByHandleTime = (request = {})=>post("yyzx/zzScreen/queryEventByHandleTime",request);
//综治大屏-下派和上报事件数量查询
export const queryDistributeAndReportCount = (request = {})=>post("yyzx/zzScreen/queryDistributeAndReportCount",request);
//综治大屏-实时事件接收／办理情况
export const queryNewReceive = (request = {})=>post("yyzx/zzScreen/queryRealTimeEvent",request);
//综治大屏-中间四大类数量统计
export const getCountHotLineType = (request = {})=>post("yyzx/zzScreen/countHotLineType",request);
//综治大屏-事件上报趋势
export const getEventReportTrend = (request = {})=>post("yyzx/zzScreen/eventReportTrend",request);
//综治大屏-事件受理趋势
export const getEventAcceptTrend = (request = {})=>post("yyzx/zzScreen/eventAcceptTrend",request);

//城管大屏大屏-事件类型占比分析
export const getCgCountByEventType = (request = {})=>post("zhcg/cgScreen/countByEventType",request);
//城管大屏大屏-事件状态占比分析
export const getCgCountByEventStatus = (request = {})=>post("zhcg/cgScreen/countByEventStatus",request);
//城管大屏大屏-事件高发区域分析
export const getCgCountByEventArea = (request = {})=>post("zhcg/cgScreen/countByEventArea",request);
//城管大屏大屏-事件高发时段分析
export const getCgCountByTimeInterval = (request = {})=>post("zhcg/cgScreen/countByTimeInterval",request);
//城管大屏大屏-事件上报top5
export const getCgReportTop5 = (request = {})=>post("zhcg/cgScreen/reportTop5",request);
//城管大屏大屏-事件处理top5
export const getCgDealTop5 = (request = {})=>post("zhcg/cgScreen/dealTop5",request);
//城管大屏大屏-人员在线情况
export const queryOnlineInfo = (request = {})=>post("zhcg/cgScreen/queryOnlineInfo",request);
//城管大屏大屏-最新案件查询
export const queryNewestInfo = (request = {})=>post("zhcg/cgScreen/queryNewestInfo",request);
//城管大屏大屏-案件查询上报
export const queryReportTrendInfo = (request = {})=>post("zhcg/cgScreen/queryReportTrendInfo",request);
//城管大屏大屏-案件热词分析
export const queryHotWord = (request = {})=>post("zhcg/cgScreen/queryHotWord",request);
//城管大屏大屏-城市状态管理
export const queryCityStatus = (request = {})=>post("zhcg/cgScreen/queryCityStatus",request);








//城管pc端-消息中心列表
export const eventInfoCenterQueryMessagePage = (request = {})=>postList("zhcg/eventInfo/center/queryMessagePage",request);
//城管pc端工作台查询所有事件
export const eventInfoCenterWorkbenchQueryAll = (request = {})=>post("zhcg/eventInfo/center/workbenchQueryAll",request);
//城管pc端-工作台数量统计
export const eventInfoCenterWorkbenchStatistics = (request = {})=>post("zhcg/eventInfo/center/workbenchStatistics",request);
//城管pc端-查询事件流水
export const eventHandleFlowFindByEventId = (request = {})=>post("zhcg/eventHandleFlow/findByEventId",request);
//城管pc-接收上报事件
export const eventInfoCenterReceive = (request = {})=>post("zhcg/eventInfo/center/receive",request);
//城管pc-派发
export const eventInfoCenterDistribute = (request = {})=>post("zhcg/eventInfo/center/distribute",request);
//城管pc-督办
export const eventInfoPress = (request = {})=>post("zhcg/eventInfo/press",request);
//城管pc-办结/结案
export const eventInfoCenterEnd = (request = {})=>post("zhcg/eventInfo/center/end",request);
//城管pc-上报
export const eventInfoCenterReport = (request = {})=>post("zhcg/eventInfo/center/report",request);
//城管pc-事件分类统计
export const eventInfoCenterWorkbenchTypeStatistics = (request = {})=>post("zhcg/eventInfo/center/workbenchTypeStatistics",request);

//城管中心-事件管理
export const eventInfoCenterQueryListPage = (request = {})=>postList("zhcg/eventInfo/center/queryListPage",request);
//城管中心-结案记录
export const eventInfoCenterQueryRecordPage = (request = {})=>postList("zhcg/eventInfo/center/queryRecordPage",request);
//事件大类-小类
export const dictItemQueryEventTypeCodeTree = (request = {})=>post("zhcg/dictItem/queryEventTypeCodeTree",request);

//查询线上申办数据
export const queryOnline = (request = {})=>post("xzsp/handleInfo/queryOnlineCount",request);

//查询线上申办附件
export const queryOnlineFiles = (request = {})=>post("xzsp/sysAttrFile/getFiles",request);
//历史流水
export const queryHistory = (request = {})=>post("yyzx/sortingEventinfo/queryHistory",request);


//测试websocket接口
export const testApi = (request = {})=>post("zhcg/webSocket/test/add",request);

